
// 自动生成模板LsShop
package shop
import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// 商品管理表 结构体  LsShop
type LsShop struct {
    global.GVA_MODEL
  ShopUrl  *string `json:"shopUrl" form:"shopUrl" gorm:"comment:商品图片;column:shop_url;size:255;" binding:"required"`  //商品图片
  ShopName  *string `json:"shopName" form:"shopName" gorm:"comment:商品名称;column:shop_name;size:255;" binding:"required"`  //商品名称
  ShopPrice  *float64 `json:"shopPrice" form:"shopPrice" gorm:"comment:商品价格;column:shop_price;size:10;" binding:"required"`  //商品价格
  ShopItemNumber  *int32 `json:"shopItemNumber" form:"shopItemNumber" gorm:"comment:商品货号;column:shop_item_number;" binding:"required"`  //商品货号
  ShopTitle  *string `json:"shopTitle" form:"shopTitle" gorm:"comment:商品标题;column:shop_title;size:255;" binding:"required"`  //商品标题
  ShopInventory  *string `json:"shopInventory" form:"shopInventory" gorm:"comment:商品库存;column:shop_inventory;size:255;" binding:"required"`  //商品库存
  ShopSales  *string `json:"shopSales" form:"shopSales" gorm:"comment:商品销量;column:shop_sales;size:255;" binding:"required"`  //商品销量
  ShopStatus  *string `json:"shopStatus" form:"shopStatus" gorm:"comment:商品状态;column:shop_status;size:10;" binding:"required"`  //商品状态
  ShopDetails  *string `json:"shopDetails" form:"shopDetails" gorm:"comment:商品详情;column:shop_details;size:255;type:text;" binding:"required"`  //商品详情
  ShopAttribute  *string `json:"shopAttribute" form:"shopAttribute" gorm:"comment:商品属性;column:shop_attribute;size:255;" binding:"required"`  //商品属性
  ShopLimit  *string `json:"shopLimit" form:"shopLimit" gorm:"comment:商品限购;column:shop_limit;size:10;" binding:"required"`  //商品限购
  ShopDelivery  *string `json:"shopDelivery" form:"shopDelivery" gorm:"comment:配送方式;column:shop_delivery;size:10;" binding:"required"`  //配送方式
  ShopShippingCost  *string `json:"shopShippingCost" form:"shopShippingCost" gorm:"comment:运费模版;column:shop_shipping_cost;size:10;" binding:"required"`  //运费模版
  ShopLogistics  *string `json:"shopLogistics" form:"shopLogistics" gorm:"comment:物流模版;column:shop_logistics;size:10;" binding:"required"`  //物流模版
    CreatedBy  uint   `gorm:"column:created_by;comment:创建者"`
    UpdatedBy  uint   `gorm:"column:updated_by;comment:更新者"`
    DeletedBy  uint   `gorm:"column:deleted_by;comment:删除者"`
}


// TableName 商品管理表 LsShop自定义表名 ls_shop
func (LsShop) TableName() string {
    return "ls_shop"
}





